﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Warensoft.Unity.Communication.Client.Cloud
{
    //public class AssetServiceData
    //{
    //    /// <summary>
    //    /// 用户ID
    //    /// </summary>
    //    public Guid ID { get; set; }
    //    /// <summary>
    //    /// 源文件
    //    /// </summary>
    //    public string Source { get; set; }
    //    /// <summary>
    //    /// 云操作命令
    //    /// </summary>
    //    public CloudCommand Command { get; set; }
    //    /// <summary>
    //    /// 时间戳
    //    /// </summary>
    //    public string TimeStamp { get; set; }
    //    public override string ToString()
    //    {
    //        StringBuilder sb = new StringBuilder();
    //        sb.AppendLine(this.Source)
    //            .AppendLine();
    //        string url = Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(this.Source));
    //        return string.Format("http://localhost:7512/api.aspx?cmd={0}&source={1}&width={2}&height={3}&timestamp={4}&id={5}", this.Command, url, this.Width, this.Height, this.TimeStamp, this.ID);

    //    }
    //}
    //public class ConverStreamVideoData : AssetServiceData
    //{
    //    /// <summary>
    //    /// 转码后的视频宽度
    //    /// </summary>
    //    public string Width { get; set; }
    //    /// <summary>
    //    /// 转码后的视频高度
    //    /// </summary>
    //    public string Height { get; set; }
    //}
}
